package cn.shiro.shiroservice.common.enums;

import lombok.Getter;

import static cn.shiro.shiroservice.common.constant.ManaPoint.FLUSHED_TOKEN;
import static cn.shiro.shiroservice.common.constant.ManaPoint.TOKEN_ACCOUNT;


@Getter
public enum GeneratesTokenType {
    /**
     * 访问令牌
     */
    ACCESS(TOKEN_ACCOUNT),
    /**
     * 刷新令牌
     */
    RLUSHED(FLUSHED_TOKEN);

    private String token;

    GeneratesTokenType(String token) {
        this.token = token;
    }
}